package com.link.base.base.position.model;

import com.link.core.basic.model.BasicModel;

import java.util.List;

/**
 * @author unknown
 * @date unknown
 * @comments 职位
 */
public class Position extends BasicModel {
    /**
     * 职位名称
     */
    private String text;
    private String positionType;
    private String positionTypeLovType;
    private Long parentPositionId;
    private String parentPositionName;
    private String isEffective;
    private String isEffectiveLovType;
    private Long deptId;
    private String deptName;
    private List<Position> children;
    private Long acctId;

    /**
     * 经销商ID
     */
    private Long dealerId;
    /**
     * 经销商名称
     */
    private String dealerName;
    /**
     * 组织名
     */
    private String orgName;
    private Long userId;
    /**
     * 中间表id
     */
    private Long interId;
    /**
     * 是否为默认值
     */
    private String isDefault;
    /**
     * 用户名
     */
    private String username;
    /**
     * 姓名
     */
    private String fstName;
    /**
     * 用户电话
     */
    private String empTel;
    private String status;
    private String errorMessage;
    /**
     * 来源
     */
    private String source;

    /**
     * crmId
     */
    private Long crmId;
    /**
     * 是否是客户主要职位
     */
    private String isAcctDefault;
    /**
     * 取integrationId 作为职位编码
     */
    private String integrationId;

    /** #################### IYU 新增 ####################### */
    /**
     * 职位编码
     */
    private String postnCode;
    /**
     * 行政组织编码
     */
    private String adminPostnCode;
    /**
     * 源系统创建时间
     */
    private String shrCreated;
    /**
     * SHR职位主键
     */
    private String shrPostnId;
    /**
     * SHR上级岗位编码
     */
    private String shrParPostnId;
    /**
     * 是否负责人岗位
     */
    private String isRespPostn;
    /**
     * 源系统描述
     */
    private String shrDesc;


    /**
     * 父职位名称
     */
    private String parentPosName;

    public String getParentPosName() {
        return parentPosName;
    }

    public void setParentPosName(String parentPosName) {
        this.parentPosName = parentPosName;
    }

    public String getPostnCode() {
        return postnCode;
    }

    public Position setPostnCode(String postnCode) {
        this.postnCode = postnCode;
        return this;
    }

    public String getAdminPostnCode() {
        return adminPostnCode;
    }

    public Position setAdminPostnCode(String adminPostnCode) {
        this.adminPostnCode = adminPostnCode;
        return this;
    }

    public String getShrCreated() {
        return shrCreated;
    }

    public Position setShrCreated(String shrCreated) {
        this.shrCreated = shrCreated;
        return this;
    }

    public String getShrPostnId() {
        return shrPostnId;
    }

    public Position setShrPostnId(String shrPostnId) {
        this.shrPostnId = shrPostnId;
        return this;
    }

    public String getShrParPostnId() {
        return shrParPostnId;
    }

    public Position setShrParPostnId(String shrParPostnId) {
        this.shrParPostnId = shrParPostnId;
        return this;
    }

    public String getIsRespPostn() {
        return isRespPostn;
    }

    public Position setIsRespPostn(String isRespPostn) {
        this.isRespPostn = isRespPostn;
        return this;
    }

    public String getShrDesc() {
        return shrDesc;
    }

    public Position setShrDesc(String shrDesc) {
        this.shrDesc = shrDesc;
        return this;
    }

    public void setDealerId(Long dealerId) {
        this.dealerId = dealerId;
    }

    public Long getDealerId() {
        return dealerId;
    }

    public void setDealerName(String dealerName) {
        this.dealerName = dealerName;
    }

    public String getDealerName() {
        return dealerName;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getErrorMessage() {
        return errorMessage;
    }

    public void setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
    }

    public String getText() {
        return text;
    }

    public Position setText(String text) {
        this.text = text;
        return this;
    }

    public String getPositionType() {
        return positionType;
    }

    public Position setPositionType(String positionType) {
        this.positionType = positionType;
        return this;
    }

    public Long getParentPositionId() {
        return parentPositionId;
    }

    public void setParentPositionId(Long parentPositionId) {
        this.parentPositionId = parentPositionId;
    }

    public String getIsEffective() {
        return isEffective;
    }

    public Position setIsEffective(String isEffective) {
        this.isEffective = isEffective;
        return this;
    }

    public String getParentPositionName() {
        return parentPositionName;
    }

    public void setParentPositionName(String parentPositionName) {
        this.parentPositionName = parentPositionName;
    }

    public List<Position> getChildren() {
        return children;
    }

    public void setChildren(List<Position> children) {
        this.children = children;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getPositionTypeLovType() {
        return positionTypeLovType;
    }

    public void setPositionTypeLovType(String positionTypeLovType) {
        this.positionTypeLovType = positionTypeLovType;
    }

    public String getIsEffectiveLovType() {
        return isEffectiveLovType;
    }

    public void setIsEffectiveLovType(String isEffectiveLovType) {
        this.isEffectiveLovType = isEffectiveLovType;
    }

    @Override
    public String getOrgName() {
        return orgName;
    }

    @Override
    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public Long getAcctId() {
        return acctId;
    }

    public void setAcctId(Long acctId) {
        this.acctId = acctId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getInterId() {
        return interId;
    }

    public void setInterId(Long interId) {
        this.interId = interId;
    }

    @Override
    public String getIsDefault() {
        return isDefault;
    }

    @Override
    public void setIsDefault(String isDefault) {
        this.isDefault = isDefault;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getFstName() {
        return fstName;
    }

    public void setFstName(String fstName) {
        this.fstName = fstName;
    }

    public String getEmpTel() {
        return empTel;
    }

    public void setEmpTel(String empTel) {
        this.empTel = empTel;
    }

    public Long getCrmId() {
        return crmId;
    }

    public void setCrmId(Long crmId) {
        this.crmId = crmId;
    }

    public String getIsAcctDefault() {
        return isAcctDefault;
    }

    public void setIsAcctDefault(String isAcctDefault) {
        this.isAcctDefault = isAcctDefault;
    }

    public String getIntegrationId() {
        return integrationId;
    }

    public void setIntegrationId(String integrationId) {
        this.integrationId = integrationId;
    }
}
